Allow unused_unsafe in LazyCell in preparation for lib change
authorvarkor <github@varkor.com>
Wed, 24 Jan 2018 09:46:54 +0000 (09:46 +0000)
committerGitHub <noreply@github.com>
Wed, 24 Jan 2018 09:46:54 +0000 (09:46 +0000)
commit5d22cce6118ee7c42d83dce4ebee9ce6c4e19580
tree65a86db375e5649bcf5cdbe5f4f2e159d9afbef1
parent26c59967f8c653fe793cc28c8b8b46c824d1fe28
Allow unused_unsafe in LazyCell in preparation for lib change

https://github.com/rust-lang/rust/pull/47204 makes `UnsafeCell::into_inner` safe, which means `LazyCell::into_inner` will no longer need an `unsafe` block. `LazyCell` is a blocker for the change in Rust: this fix should allow the change to take place.
src/cargo/util/lazy_cell.rs